package com.wittandliz.view.events
{
	import com.adobe.cairngorm.control.CairngormEvent;
	
	public class ViewEvent extends CairngormEvent
	{
		public static const VIEW_CHANGED : String = "viewChanged";
		
		private var _viewName : String;
		
		public function ViewEvent(type : String, viewName : String)
		{
			super(type);
			_viewName = viewName;
		}

		public function get viewName() : String 
		{
			return _viewName;
		}
	}
}